feat: token transfer operator == adition#1320
Conversation
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
|
Hey @Egbaiyelo 👋 thanks for the PR! This comment updates automatically as you push changes -- think of it as your PR's live scoreboard! PR Checks✅ DCO Sign-off -- All commits have valid sign-offs. Nice work! ✅ GPG Signature -- All commits have verified GPG signatures. Locked and loaded! ✅ Merge Conflicts -- No merge conflicts detected. Smooth sailing! ✅ Issue Link -- Linked to #1298 (assigned to you). 🎉 All checks passed! Your PR is ready for review. Great job! |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 5 |
TIP This summary will be updated as you push new changes. Give us feedback
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
rwalworth
left a comment
There was a problem hiding this comment.
Thanks for the contribution @Egbaiyelo! There are a few things to address before this can be merged:
Issue link fix: The PR description has Fixes # 1298 (space after #) - GitHub won't auto-link that, which is why the bot flagged it. Please update it to Fixes #1298 (no space).
I left a few comments below on the code changes. Let me know if you have any questions!
|
I genuinely cant run the tests for some reason? something about hproto-populate? |
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
1d2345c to
b79455b
Compare
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
|
@rwalworth So I am a bit confused with the test cases, i came back realising I might not have done the right thing, I think they cover everything now but I dont see the structure of what I did in the codebase |
rwalworth
left a comment
There was a problem hiding this comment.
Thanks for the updates @Egbaiyelo — good progress on the SPDX header fix and adding the //----- separator! There are still a couple of things to address before this can merge, the most critical being that the operator== implementation in TokenTransfer.cc is a free function rather than a member function, which means it won't compile. I've left the details in the comments below.
The tests look good - they cover all three cases required by the issue:
The structure (going straight from One minor thing: in The reason you can't run the tests right now is the compilation error in |
Can you share the full error message? An error mentioning "hproto-populate" sounds like a build system or dependency issue unrelated to your changes - possibly a missing proto generation step or a stale build cache. |
|
ill rebuild it actually |
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
rwalworth
left a comment
There was a problem hiding this comment.
Thanks for sticking with this @Egbaiyelo - the implementation and test coverage are looking good now! The operator== logic is correct, the //----- separator is there, the member function form is right, and the SPDX header is clean. Just one small doc comment fix needed in the header before this can merge.
Signed-off-by: Egbaiyelo <moteniolaegbaiyelo@trentu.ca>
rwalworth
left a comment
There was a problem hiding this comment.
LGTM - all the blocking issues have been resolved! Running the workflows now and will merge once they pass!
|
👋 Hi @Egbaiyelo! Great work on your recent contribution! 🎉 Here are some issues you might want to explore next:
Happy coding! 🚀 |
Description:
Implementing the TokenTransfer== operator
Related issue(s):
Fixes #1298
Notes for reviewer:
Checklist